package com.qm.console.dao.mapper;

import com.qm.console.dao.model.ActivityDO;
import com.qm.console.pubdef.dto.analysis.PropQueryDTO;

import java.util.List;
import java.util.Map;

public interface ActivityDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivityDO record);

    int insertSelective(ActivityDO record);

    ActivityDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityDO record);

    int updateByPrimaryKey(ActivityDO record);

    List<Map> count(ActivityDO query);

    List<ActivityDO> totalUser(ActivityDO query);

    List<Map> intraDayUser(ActivityDO query);

    List<ActivityDO> listCurPool(ActivityDO query);

    List<ActivityDO> listInjPool(ActivityDO query);

    List<Map> listSum(ActivityDO query);
}
